﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace QrCodeUtils
{
    class OCRListModel : INotifyPropertyChanged
    {
        String imageName;
        String context;
        String imagePath;
        public String ImageName
        {
            get
            {
                return this.imageName;
            }
            set
            {
                this.imageName = value;
                OnPropertyChanged(new PropertyChangedEventArgs("ImageName"));
            }
        }
        public String Context
        {
            get
            {
                return this.context;
            }
            set
            {
                this.context = value;
                OnPropertyChanged(new PropertyChangedEventArgs("Context"));
            }
        }
        public String ImagePath
        {
            get
            {
                return this.imagePath;
            }
            set
            {
                this.imagePath = value;
                OnPropertyChanged(new PropertyChangedEventArgs("ImagePath"));
            }
        }
        public event PropertyChangedEventHandler PropertyChanged;
        public void OnPropertyChanged(PropertyChangedEventArgs e)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, e);
            }
        }
    }

}
